<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">

	<title>Class Weixin_Template</title>

	<link rel="stylesheet" href="resources/style.css?e99947befd7bf673c6b43ff75e9e0f170c88a60e">

</head>

<body>
<div id="left">
	<div id="menu">
		<a href="index.html" title="Overview"><span>Overview</span></a>


		<div id="groups">
				<h3>Packages</h3>
			<ul>
				<li>
					<a href="package-None.html">
						None					</a>

						</li>
				<li>
					<a href="package-WxRobot.html">
						WxRobot<span></span>
					</a>

						<ul>
				<li>
					<a href="package-WxRobot.Admin.html">
						Admin					</a>

						</li>
				<li>
					<a href="package-WxRobot.Cmd.html">
						Cmd					</a>

						</li>
				<li>
					<a href="package-WxRobot.CoreFunctions.html">
						CoreFunctions					</a>

						</li>
				<li>
					<a href="package-WxRobot.Exends.html">
						Exends					</a>

						</li>
				<li>
					<a href="package-WxRobot.Install.html">
						Install					</a>

						</li>
				<li>
					<a href="package-WxRobot.Table.html">
						Table					</a>

						</li>
				<li>
					<a href="package-WxRobot.Uninstall.html">
						Uninstall					</a>

						</li>
				<li>
					<a href="package-WxRobot.WxSDK.html">
						WxSDK					</a>

						</li>
							</ul></li>
			</ul>
		</div>

		<hr>


		<div id="elements">
			<h3>Classes</h3>
			<ul>
				<li><a href="class-ErrorCode.html">ErrorCode</a></li>
				<li><a href="class-PKCS7Encoder.html">PKCS7Encoder</a></li>
				<li><a href="class-Prpcrypt.html">Prpcrypt</a></li>
				<li><a href="class-SHA1.html">SHA1</a></li>
				<li><a href="class-Weixin_BaseCore.html">Weixin_BaseCore</a></li>
				<li><a href="class-WeiXin_SDK.html">WeiXin_SDK</a></li>
				<li class="active"><a href="class-Weixin_Template.html">Weixin_Template</a></li>
				<li><a href="class-WXBizMsgCrypt.html">WXBizMsgCrypt</a></li>
				<li><a href="class-XMLParse.html">XMLParse</a></li>
			</ul>





		</div>
	</div>
</div>

<div id="splitter"></div>

<div id="right">
<div id="rightInner">
	<form id="search">
		<input type="hidden" name="cx" value="">
		<input type="hidden" name="ie" value="UTF-8">
		<input type="text" name="q" class="text" placeholder="Search">
	</form>

	<div id="navigation">
		<ul>
			<li>
				<a href="index.html" title="Overview"><span>Overview</span></a>
			</li>
			<li>
<span>Package</span>			</li>
			<li class="active">
<span>Class</span>			</li>
		</ul>
		<ul>
		</ul>
		<ul>
		</ul>
	</div>

<div id="content" class="class">
	<h1>Class Weixin_Template</h1>











	<div class="info">
		
		
		
		

			<b>Located at</b> <a href="source-class-Weixin_Template.html#3-154" title="Go to source code">weixin-sdk-api/weixin/libs/template.class.php</a>
		<br>
	</div>



	<table class="summary methods" id="methods">
	<caption>Methods summary</caption>
	<tr data-order="__construct" id="___construct">

		<td class="attributes"><code>
			 public 

			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#___construct">#</a>
		<code><a href="source-class-Weixin_Template.html#7-9" title="Go to source code">__construct</a>( )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	<tr data-order="toMsgText" id="_toMsgText">

		<td class="attributes"><code>
			 public 

			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_toMsgText">#</a>
		<code><a href="source-class-Weixin_Template.html#11-23" title="Go to source code">toMsgText</a>( <span> <var>$fromUserName</var></span>, <span> <var>$toUserName</var></span>, <span> <var>$Msg</var></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	<tr data-order="toMsgImage" id="_toMsgImage">

		<td class="attributes"><code>
			 public 

			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_toMsgImage">#</a>
		<code><a href="source-class-Weixin_Template.html#25-39" title="Go to source code">toMsgImage</a>( <span> <var>$fromUserName</var></span>, <span> <var>$toUserName</var></span>, <span> <var>$MediaId</var></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	<tr data-order="toMsgVoice" id="_toMsgVoice">

		<td class="attributes"><code>
			 public 

			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_toMsgVoice">#</a>
		<code><a href="source-class-Weixin_Template.html#41-56" title="Go to source code">toMsgVoice</a>( <span> <var>$fromUserName</var></span>, <span> <var>$toUserName</var></span>, <span> <var>$MediaId</var></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	<tr data-order="toMsgVideo" id="_toMsgVideo">

		<td class="attributes"><code>
			 public 

			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_toMsgVideo">#</a>
		<code><a href="source-class-Weixin_Template.html#58-74" title="Go to source code">toMsgVideo</a>( <span> <var>$fromUserName</var></span>, <span> <var>$toUserName</var></span>, <span> <var>$MediaId</var></span>, <span> <var>$Title</var></span>, <span> <var>$Description</var></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	<tr data-order="toMsgMusic" id="_toMsgMusic">

		<td class="attributes"><code>
			 public 

			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_toMsgMusic">#</a>
		<code><a href="source-class-Weixin_Template.html#76-93" title="Go to source code">toMsgMusic</a>( <span> <var>$fromUserName</var></span>, <span> <var>$toUserName</var></span>, <span> <var>$Title</var></span>, <span> <var>$Description</var></span>, <span> <var>$MusicUrl</var></span>, <span> <var>$HQMusicUrl</var></span>, <span> <var>$ThumbMediaId</var></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	<tr data-order="toMsgMusicId" id="_toMsgMusicId">

		<td class="attributes"><code>
			 public 

			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_toMsgMusicId">#</a>
		<code><a href="source-class-Weixin_Template.html#96-114" title="Go to source code">toMsgMusicId</a>( <span> <var>$fromUserName</var></span>, <span> <var>$toUserName</var></span>, <span> <var>$Title</var></span>, <span> <var>$Description</var></span>, <span> <var>$MusicUrl</var></span>, <span> <var>$HQMusicUrl</var></span>, <span> <var>$ThumbMediaId</var></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	<tr data-order="toMsgNews" id="_toMsgNews">

		<td class="attributes"><code>
			 public 

			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_toMsgNews">#</a>
		<code><a href="source-class-Weixin_Template.html#116-153" title="Go to source code">toMsgNews</a>( <span> <var>$fromUserName</var></span>, <span> <var>$toUserName</var></span>, <span> <var>$News</var></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	</table>












	<table class="summary properties" id="properties">
	<caption>Properties summary</caption>
	<tr data-order="time" id="$time">
		<td class="attributes"><code>
			public  
			
		</code></td>

		<td class="name">
				<a href="source-class-Weixin_Template.html#5" title="Go to source code"><var>$time</var></a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</td>
		<td class="value">
			<div>
				<a href="#$time" class="anchor">#</a>
				<code></code>
			</div>
		</td>
	</tr>
	</table>






</div>

	<div id="footer">
		 API documentation generated by <a href="http://apigen.org">ApiGen</a>
	</div>
</div>
</div>
<script src="resources/combined.js"></script>
<script src="elementlist.js"></script>
</body>
</html>
